﻿using Avalonia;
using Avalonia.Controls;
using FluentAvalonia.UI.Windowing;

namespace iOSClub.Toolkit.WindowApp.Views;

public partial class ShowWindow : AppWindow
{
    public ShowWindow(Control control)
    {
        InitializeComponent();
        TitleBar.ExtendsContentIntoTitleBar = true;
        TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
        Content = control;
    }
}